-- GENERATED SPELL FOR [Withervine Creeper] --


function spell0_4382(pUnit, Event) --@Creeping Vines,n/a--
pUnit:FullCastSpellOnTarget(43130,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4382', 18000, 1)
end

function Sorts_4382(pUnit, Event)
local choix_sorts_4382 = math.random(0, 0)
if choix_sorts_4382 == 0 then
pUnit:RegisterEvent('spell0_4382', 1, 1)
end
end

function mob4382_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4382', math.random(1500, 3000), 1)
end

function mob4382_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4382_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4382_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4382, 1, 'mob4382_Action')
RegisterUnitEvent(4382, 2, 'mob4382_Leave')
RegisterUnitEvent(4382, 3, 'mob4382_Kill')
RegisterUnitEvent(4382, 4, 'mob4382_Die')
